home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Flock 0.9.1.3 stable / flock-0.9.1.3.en-US.win32.exe / flock / chrome / browser.jar / content / browser / preferences / connection.xul < prev    next >
Extensible Markup Language  |  2006-07-18  |  10KB  |  170 lines

  1. <?xml version="1.0"?>
  2.  
  3.  
  4. <!DOCTYPE prefwindow SYSTEM "chrome://browser/locale/preferences/connection.dtd">
  5.  
  6. <?xml-stylesheet href="chrome://global/skin/"?>
  7.  
  8. <prefwindow id="ConnectionsDialog" type="child"
  9.             xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  10.             title="&connectionsDialog.title;"
  11.             dlgbuttons="accept,cancel"
  12.             onbeforeaccept="return gConnectionsDialog.beforeAccept();"
  13.             style="width: &window.width; !important;">
  14.  
  15.   <prefpane id="ConnectionsDialogPane">
  16.  
  17.     <preferences>
  18.       <preference id="network.proxy.type"         name="network.proxy.type"         type="int" onchange="gConnectionsDialog.proxyTypeChanged();"/>
  19.       <preference id="network.proxy.http"         name="network.proxy.http"         type="string"/>
  20.       <preference id="network.proxy.http_port"    name="network.proxy.http_port"    type="int"/>
  21.       <preference id="network.proxy.ftp"          name="network.proxy.ftp"          type="string"/>
  22.       <preference id="network.proxy.ftp_port"     name="network.proxy.ftp_port"     type="int"/>
  23.       <preference id="network.proxy.ssl"          name="network.proxy.ssl"          type="string"/>
  24.       <preference id="network.proxy.ssl_port"     name="network.proxy.ssl_port"     type="int"/>
  25.       <preference id="network.proxy.socks"        name="network.proxy.socks"        type="string"/>
  26.       <preference id="network.proxy.socks_port"   name="network.proxy.socks_port"   type="int"/>
  27.       <preference id="network.proxy.gopher"       name="network.proxy.gopher"       type="string"/>
  28.       <preference id="network.proxy.gopher_port"  name="network.proxy.gopher_port"  type="int"/>
  29.       <preference id="network.proxy.socks_version"  name="network.proxy.socks_version"  type="int"/>
  30.       <preference id="network.proxy.no_proxies_on"  name="network.proxy.no_proxies_on"  type="string"/>
  31.       <preference id="network.proxy.autoconfig_url" name="network.proxy.autoconfig_url" type="string"/>
  32.       <preference id="network.proxy.share_proxy_settings"
  33.                   name="network.proxy.share_proxy_settings"
  34.                   type="bool"/>
  35.       
  36.       <preference id="pref.advanced.proxies.disable_button.reload"
  37.                   name="pref.advanced.proxies.disable_button.reload"
  38.                   type="bool"/>
  39.  
  40.       <preference id="network.proxy.backup.ftp"          name="network.proxy.backup.ftp"          type="string"/>
  41.       <preference id="network.proxy.backup.ftp_port"     name="network.proxy.backup.ftp_port"     type="int"/>
  42.       <preference id="network.proxy.backup.ssl"          name="network.proxy.backup.ssl"          type="string"/>
  43.       <preference id="network.proxy.backup.ssl_port"     name="network.proxy.backup.ssl_port"     type="int"/>
  44.       <preference id="network.proxy.backup.socks"        name="network.proxy.backup.socks"        type="string"/>
  45.       <preference id="network.proxy.backup.socks_port"   name="network.proxy.backup.socks_port"   type="int"/>
  46.       <preference id="network.proxy.backup.gopher"       name="network.proxy.backup.gopher"       type="string"/>
  47.       <preference id="network.proxy.backup.gopher_port"  name="network.proxy.backup.gopher_port"  type="int"/>
  48.     </preferences>
  49.     
  50.     <script type="application/x-javascript" src="chrome://browser/content/preferences/connection.js"/>
  51.  
  52.     <stringbundle id="preferencesBundle" src="chrome://browser/locale/preferences/preferences.properties"/>
  53.  
  54.     <groupbox>
  55.       <caption label="&proxyTitle.label;"/>
  56.  
  57.       <radiogroup id="networkProxyType" preference="network.proxy.type"
  58.                   onsyncfrompreference="return gConnectionsDialog.readProxyType();">
  59.         <radio value="0" label="&directTypeRadio.label;" accesskey="&directTypeRadio.accesskey;"/>
  60.         <radio value="4" label="&WPADTypeRadio.label;" accesskey="&WPADTypeRadio.accesskey;"/>
  61.         <radio value="1" label="&manualTypeRadio.label;" accesskey="&manualTypeRadio.accesskey;"/>
  62.         <grid class="indent" flex="1">
  63.           <columns>
  64.             <column/>
  65.             <column flex="1"/>
  66.           </columns>
  67.           <rows>
  68.             <row align="center">
  69.               <hbox pack="end">
  70.                 <label value="&http.label;" accesskey="&http.accesskey;" control="networkProxyHTTP"/>
  71.               </hbox>
  72.               <hbox align="center">
  73.                 <textbox id="networkProxyHTTP" flex="1"
  74.                          preference="network.proxy.http" onsyncfrompreference="return gConnectionsDialog.readHTTPProxyServer();"/>
  75.                 <label value="&port.label;" accesskey="&HTTPport.accesskey;" control="networkProxyHTTP_Port"/>
  76.                 <textbox id="networkProxyHTTP_Port" size="5"
  77.                          preference="network.proxy.http_port" onsyncfrompreference="return gConnectionsDialog.readHTTPProxyPort();"/>
  78.               </hbox>
  79.             </row>
  80.             <row>
  81.               <hbox/>
  82.               <hbox>
  83.                 <checkbox id="shareAllProxies" label="&shareproxy.label;" accesskey="&shareproxy.accesskey;"
  84.                           preference="network.proxy.share_proxy_settings"
  85.                           onsyncfrompreference="return gConnectionsDialog.updateProtocolPrefs();"/>
  86.               </hbox>
  87.             </row>
  88.             <row align="center">
  89.               <hbox pack="end">
  90.                 <label value="&ssl.label;" accesskey="&ssl.accesskey;" control="networkProxySSL"/>
  91.               </hbox>
  92.               <hbox align="center">
  93.                 <textbox id="networkProxySSL" flex="1" preference="network.proxy.ssl"
  94.                          onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ssl', false);"/>
  95.                 <label value="&port.label;" accesskey="&SSLport.accesskey;" control="networkProxySSL_Port"/>
  96.                 <textbox id="networkProxySSL_Port" size="5" preference="network.proxy.ssl_port"
  97.                          onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ssl', true);"/>
  98.               </hbox>
  99.             </row>
  100.             <row align="center">
  101.               <hbox pack="end">
  102.                 <label value="&ftp.label;" accesskey="&ftp.accesskey;" control="networkProxyFTP"/>
  103.               </hbox>
  104.               <hbox align="center">
  105.                 <textbox id="networkProxyFTP" flex="1" preference="network.proxy.ftp"
  106.                          onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ftp', false);"/>
  107.                 <label value="&port.label;" accesskey="&FTPport.accesskey;" control="networkProxyFTP_Port"/>
  108.                 <textbox id="networkProxyFTP_Port" size="5" preference="network.proxy.ftp_port"
  109.                          onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('ftp', true);"/>
  110.               </hbox>
  111.             </row>
  112.             <row align="center">
  113.               <hbox pack="end">
  114.                 <label value="&gopher.label;" accesskey="&gopher.accesskey;" control="networkProxyGopher"/>
  115.               </hbox>
  116.               <hbox align="center">
  117.                 <textbox id="networkProxyGopher" flex="1" preference="network.proxy.gopher"
  118.                          onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('gopher', false);"/>
  119.                 <label value="&port.label;" accesskey="&gopherPort.accesskey;" control="networkProxyGopher_Port"/>
  120.                 <textbox id="networkProxyGopher_Port" size="5" preference="network.proxy.gopher_port"
  121.                          onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('gopher', true);"/>
  122.               </hbox>
  123.             </row>
  124.             <row align="center">
  125.               <hbox pack="end">
  126.                 <label value="&socks.label;" accesskey="&socks.accesskey;" control="networkProxySOCKS"/>
  127.               </hbox>
  128.               <hbox align="center">
  129.                 <textbox id="networkProxySOCKS" flex="1" preference="network.proxy.socks"
  130.                          onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('socks', false);"/>
  131.                 <label value="&port.label;" accesskey="&SOCKSport.accesskey;" control="networkProxySOCKS_Port"/>
  132.                 <textbox id="networkProxySOCKS_Port" size="5" preference="network.proxy.socks_port"
  133.                          onsyncfrompreference="return gConnectionsDialog.readProxyProtocolPref('socks', true);"/>
  134.               </hbox>
  135.             </row>
  136.             <row>
  137.               <spacer/>
  138.               <radiogroup id="networkProxySOCKSVersion" orient="horizontal"
  139.                           preference="network.proxy.socks_version">
  140.                 <radio id="networkProxySOCKSVersion4" value="4" label="&socks4.label;" accesskey="&socks4.accesskey;" />
  141.                 <radio id="networkProxySOCKSVersion5" value="5" label="&socks5.label;" accesskey="&socks5.accesskey;" />
  142.               </radiogroup>
  143.             </row>
  144.  
  145.             <row align="center"> 
  146.               <hbox align="center" pack="end">
  147.                 <label value="&noproxy.label;" accesskey="&noproxy.accesskey;" control="networkProxyNone"/>
  148.               </hbox>
  149.               <textbox id="networkProxyNone" preference="network.proxy.no_proxies_on"/>
  150.             </row>
  151.             <row>
  152.               <spacer/>
  153.               <label value="&noproxyExplain.label;" control="networkProxyNone"/>
  154.             </row>
  155.           </rows>
  156.         </grid>
  157.         <radio value="2" label="&autoTypeRadio.label;" accesskey="&autoTypeRadio.accesskey;"/>
  158.         <hbox class="indent" flex="1" align="center">
  159.           <textbox id="networkProxyAutoconfigURL" flex="1" preference="network.proxy.autoconfig_url"/>
  160.           <button id="autoReload" icon="refresh"
  161.                   label="&reload.label;" accesskey="&reload.accesskey;"
  162.                   oncommand="gConnectionsDialog.reloadPAC();" 
  163.                   preference="pref.advanced.proxies.disable_button.reload"/>
  164.         </hbox>
  165.       </radiogroup>
  166.     </groupbox>
  167.   </prefpane>
  168. </prefwindow>
  169.  
  170.